<template>
    <el-dialog title="" :visible.sync="imgObj.dialogVisible" size="tiny" :before-close="handleClose">
        <img v-if="imgObj.img" style="width:100%;display:block" :src="imgObj.img" alt="">
        <img v-else style="width:100%;display:block" src="../../../images/attendance/banenr.png" alt="">
    </el-dialog>
</template>
<script>
export default {
    props: {
        imgObj: {}
    },
    methods: {
        handleClose(done) {
            done();
        }
    }
};
</script>
<style>

</style>
